package com.example.domain.po;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 用户记录表
 * @TableName cust_records
 */
@TableName(value ="cust_records")
@Data
public class CustRecords implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 客户id
     */
    private String custId;

    /**
     * 发送时间
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime sendTime;

    /**
     * 发送标识
     */
    private Integer sendFlag;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}